From: Florian Müllner Date: Thu, 17 Jul 2014 22:59:06 +0000 (+0200) Subject: workspace: Fix style X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2283 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8c6a2874ffe39e55b7445ccffcb93c48b4cfd9a6;p=gnome-shell.git workspace: Fix style --- diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 1303babb0..5fd055b01 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -87,7 +87,7 @@ const WindowCloneLayout = new Lang.Class({ }, vfunc_allocate: function(container, box, flags) { - let clone = container.get_children().forEach(function (child) { + container.get_children().forEach(Lang.bind(this, function (child) { let realWindow; if (child == container._delegate._windowClone) realWindow = container._delegate.realWindow; @@ -96,8 +96,8 @@ const WindowCloneLayout = new Lang.Class({ child.allocate(this._makeBoxForWindow(realWindow.meta_window), flags); - }, this); - }, + })); + } }); const WindowClone = new Lang.Class({